'use strict';
const db = uniCloud.database()
const coll = db.collection('list')
exports.main = async (event, context) => {
	let res = await coll.limit(1000).where({
		userid: event.id
	}).orderBy('riqi', 'desc').get()
	return res
};
